﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Me.PdfViewer1.CacheInterval = 1200
            Me.PdfViewer1.CacheTime = 1000
            Me.PdfViewer1.CacheNumberImage = 1000
            Me.PdfViewer1.ScrollInterval = 300
            Me.PdfViewer1.ZoomFactor = 1
            Me.PdfViewer1.CustomErrorMessages = "Error information"
            Me.PdfViewer1.LoadFromFile("files\\PDFViewer.pdf")
        End If
    End Sub

End Class